home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / ProgramF / CRYSTAL / CRW9 / DEV / INCLUDE / Uxfdif.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-01-15  |  1.6 KB  |  82 lines

  1.  
  2. //<HEADER_BEGIN>
  3. //================================================
  4. //File name: Uxfdif.h
  5. //Date : January, 15 2002  12:15
  6. //Copyright (c) 2002 - Crystal Decisions Corp.
  7. //================================================
  8. //<HEADER_END>
  9.  
  10. #if !defined (UXFDIF_H)
  11. #define UXFDIF_H
  12.  
  13. // Set 1-byte structure alignment
  14. #if !defined(PLAT_UNIX) && !defined (MAINWIN)
  15. #if defined (__BORLANDC__)      // Borland C/C++
  16.   #pragma option -a-
  17. #elif defined (_MSC_VER)        // Microsoft Visual C++
  18.   #if _MSC_VER >= 900           // MSVC 2.x and later
  19.     #pragma pack (push)
  20.   #endif
  21.   #pragma pack (1)
  22. #endif
  23. #endif
  24.  
  25.  
  26. #if defined (__cplusplus)
  27. extern "C"
  28. {
  29. #endif
  30.  
  31. #define UXFDIFType              0
  32.  
  33. typedef struct UXFDIFOptionsA
  34. {
  35.     WORD structSize;
  36.  
  37.     BOOL useReportNumberFormat;
  38.     BOOL useReportDateFormat;
  39. }
  40.     UXFDIFOptionsA;
  41.  
  42. #define UXFDIFOptionsSizeA       (sizeof (UXFDIFOptionsA))
  43.  
  44. typedef struct UXFDIFOptionsW
  45. {
  46.     WORD structSize;
  47.  
  48.     BOOL useReportNumberFormat;
  49.     BOOL useReportDateFormat;
  50. }
  51.     UXFDIFOptionsW;
  52.  
  53. #define UXFDIFOptionsSizeW       (sizeof (UXFDIFOptionsW))
  54.  
  55. #ifdef UNICODE
  56. typedef UXFDIFOptionsW UXFDIFOptions;
  57. #else
  58. typedef UXFDIFOptionsA UXFDIFOptions;
  59. #endif  //UNICODE 
  60.  
  61. #define UXFDIFOptionsSize       (sizeof (UXFDIFOptions))
  62.  
  63. #if defined (__cplusplus)
  64. }
  65. #endif
  66.  
  67. // Reset structure alignment
  68. #if !defined(PLAT_UNIX) && !defined (MAINWIN)
  69. #if defined (__BORLANDC__)
  70.   #pragma option -a.
  71. #elif defined (_MSC_VER)
  72.   #if _MSC_VER >= 900
  73.     #pragma pack (pop)
  74.   #else
  75.     #pragma pack ()
  76.   #endif
  77. #endif
  78. #endif
  79.  
  80. #endif 
  81.  
  82.